package com.john.booter.module.user.dao;

import java.util.List;

import com.john.booter.domain.entity.User;
import com.john.booter.pagination.DataTable;
import com.john.booter.pagination.Pager;

public interface UserDao {
	
	void save(User u);
	void delete(String id);
	void update(User u);
	List<User> findAll();
	User findById(String id);
	User findByUsername(String username);
	DataTable<User> findDataTable(Pager pg, String username);
}
